﻿using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Bombardiman
{
    public class Health: Bonus
    {
        private int health;

        public Health()
            : base()
        {}

        public void Initialize(Texture2D texture, Vector2 position, bool active, int width, int height, int health)
        {
            base.setTexture(texture);
            base.setPosition(position);
            base.setActive(active);
            base.setWidth(width);
            base.setHeight(height);

            this.health = health;
        }

        public void Update(GameTime gameTime)
        {
            // needs edit
            base.Update(gameTime);
        }

        public int getHealth()
        {
            return health;
        }
        public void setHealth(int health)
        {
            this.health = health;
        }
    }
}
